<!-- $Id: user_info.htm 16854 2009-12-07 06:20:09Z sxc_shop $ -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>ECSHOP 管理中心 - 添加会员 </title>
<meta name="robots" content="noindex, nofollow">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="__TMPL__/Public/styles/general.css" rel="stylesheet" type="text/css" />
<link href="__TMPL__/Public/styles/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__ROOT__/JS/jquery.js"></script>
<script language="javascript">
$(document).ready(function(e) {
    $("select[selectedvalue]").each(function(index, element) {
        var value=$(this).attr('selectedvalue');
		$(this).children("[value='"+value+"']").attr('selected',true);
    });
});
</script>
</head>
<body>

<h1>
<span class="action-span"><a href="__TMPL__/Public/users.php?act=list">返回列表</a></span>
<span class="action-span1"><a href="__TMPL__/Public/index.php?act=main">ECSHOP 管理中心</a> </span><span id="search_id" class="action-span1"> - 添加产品</span>
<div style="clear:both"></div>
</h1>
<div class="main-div">
<form action="__ACTION__" method="post" enctype="multipart/form-data" name="theForm" onsubmit="return validate()">
<input name="action" type="hidden" value="{$Think.get.action}" />
<input name="Id" type="hidden" value="{$data.Id}" />
<table width="100%" >
  <tr>
    <td class="label">套餐名称:</td>
    <td><input type="text" name="productname" maxlength="60" value="{$data.productname}" id="productname" /><span class="require-field">*</span></td>
  </tr>
    <tr>
    <td class="label">套餐时间:</td>
    <td><label for="duration"></label>
      <select name="duration" id="duration" selectedvalue="{$data.duration}">
        <option value="1" selected="selected">月套餐</option>
        <option value="3">季度套餐</option>
        <option value="6">半年度套餐</option>
        <option value="13">年度套餐</option>
      </select>      
      <span class="require-field">*</span></td>
  </tr>
    <tr>
    <td class="label">套餐类型:</td>
    <td><label for="typename"></label>
      <select name="typename" id="typename" selectedvalue="{$data.typename}">
        <option value="jingji">经济套餐</option>
        <option value="tehui">特惠套餐</option>
      </select>      
      <span class="require-field">*</span></td>
  </tr>
  <tr>
    <td class="label">套餐价格</td>
    <td><input name="price" type="text" id="price" value="{$data.price}" size="20" maxlength="20" /><span class="require-field">*</span></td>
  </tr>
    <tr>
    <td class="label">折扣:</td>
    <td><label for="rebate"></label>
      <input name="rebate" type="text" id="rebate" value="{$data.rebate|default=100}" size="20" maxlength="20" />
      <span class="require-field">*(填写整数,如95折就填写95)</span>
      </td>
  </tr>
  <tr>
    <td class="label">套餐描述:</td>
    <td><label for="description"></label>
      <textarea name="description" id="description" cols="45" rows="5">{$data.description}</textarea></td>
  </tr>
        <tr>
          <td colspan="2" align="center">
            <input type="submit" value=" 确定 " class="button" />
            <input name="" type="button" class="button" onclick="window.history.go(-1);" value=" 返回 " /></td>
      </tr>
</table>

</form>
</div>

<div id="footer">
共执行 3 个查询，用时 0.041791 秒，Gzip 已禁用，内存占用 0.297 MB<br />
版权所有 &copy; 2005-2012 上海商派网络科技有限公司，并保留所有权利。</div>


</body>
</html>